/*
 *
 *  Created on: 03.12.2012
 * Calibrate.h
 *      Author: Michael
 */

#ifndef CALIBRATE_H_
#define CALIBRATE_H_

#include "rodos.h"
#include "../hardware.h"
#include "../Kalman/Kalman.h"
#include "global.h"

class Calibrate: public Thread {
public:
	Calibrate(const char* name, const long prio);
	virtual ~Calibrate();
	void run();
private:
	float gyroBias;
	float magVar;
	float mag_calib[100];
};

#endif /* CALIBRATE_H_ */
